#-------------------------------------------------
#
# Project created by QtCreator 2012-04-06T10:32:38
#
#-------------------------------------------------

QT       += core gui widgets
CONFIG += c++11

TEMPLATE = app
DESTDIR  = ../bin

UI_DIR         = build
RCC_DIR = build

CONFIG(debug, debug|release) {
OBJECTS_DIR = build/debug
MOC_DIR = build/debug
CONFIG += console
TARGET = dsp_lab_d
}
else {
OBJECTS_DIR = build/release
MOC_DIR = build/release
TARGET = dsp_lab
}

include(../dsplabconfig.pri)
include(../dsp_algo/dsp_algo.pri)
include(src/plot/plot.pri)
include(src/generator/generator.pri)

SOURCES += src/main.cpp\
        src/mainwindow.cpp \
    src/qfftwindow.cpp \
    src/plot_panel.cpp \
    src/modhertzelwindow.cpp \
    src/testdatadialog.cpp \
    src/transformwindow.cpp

HEADERS  += src/mainwindow.hpp \
    src/qfftwindow.hpp \
    src/plot_panel.hpp \
    src/modhertzelwindow.hpp \
    src/interfaces.hpp \
    src/testdatadialog.hpp \
    src/transformwindow.hpp

FORMS    += src/ui/mainwindow.ui \
    src/ui/qfftwindow.ui \
    src/ui/qmodhertzelwindow.ui \
    src/ui/testdatadialog.ui \
    src/ui/transformwindow.ui

# ==================== Подключаем Qwt ==============================
CONFIG(debug, debug|release) {
LIBS += -lqwtd
}
else{
LIBS += -lqwt
}
# =============================== Qwt ==============================


#QLOGGER_DIR - Переменная окружения, должна указывать директорию проекта qlogger
CONFIG(debug, debug|release) {
LIBS += -lqloggerd
}
else{
LIBS += -lqlogger
}

RCC_DIR = build
win32:RC_FILE = testft.rc
RESOURCES += \
    testFT.qrc

DEFINES += _USE_MATH_DEFINES


greaterThan(QT_MAJOR_VERSION, 4):{
target.path     += d:/programms/tmx/q5/
}
else{
target.path     += d:/programms/tmx/q4/
}
INSTALLS        += target


